import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
import { HashRouter } from 'react-router-dom'
import {Router} from './routes/index.jsx'
import zhCN from 'antd/locale/zh_CN';
import 'dayjs/locale/zh-cn';
import {  ConfigProvider } from 'antd'

createRoot(document.getElementById('root')).render(
  <StrictMode>
    <ConfigProvider locale={zhCN}>
      <HashRouter>
        <Router />
      </HashRouter>
    </ConfigProvider>
  </StrictMode>,
)
